<?php

use Illuminate\Database\Seeder;

class AdminsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('Admins')->insert([
            'username' => 'admin',
            'password' => Hash::make('secret'),
            'tel' => '18931993362',
            'club_id' => 1,
            'status' => 0,
            'created_at' => now(),
            'updated_at' => now()
        ]);

        factory(App\Admin::class,9)->create();
    }
}
